﻿html, body {
    cursor:default;
    background:transparent url('/images/background3.png') top left;
    background-size:cover;
    background-color:#49990c;
    height:100%;
    color:#000;
}

#contenthost {
    height: 100%;
  ;
}

.fragment {
    /* Define a grid with rows for a banner and a body */
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 128px 1fr 0px;
    display: -ms-grid;
    height: 100%;
   
}

    .fragment header[role=banner] {
        /* Define a grid with columns for the back button and page title. */
        -ms-grid-columns: 120px 1fr;
        -ms-grid-rows: 1fr;
        display: -ms-grid;
    }

        .fragment header[role=banner] .win-backbutton {
            margin-left: 39px;
            margin-top: 59px;
        }

        .fragment header[role=banner] .titlearea {
            -ms-grid-column: 2;
            margin-top: 37px;
        }

            .fragment header[role=banner] .titlearea .pagetitle {
                width: calc(100% - 20px);
            }

    .fragment section[role=main] {
        -ms-grid-row: 2;
        height: 100%;
        
    }

@media screen and (-ms-view-state: snapped) {
    .fragment header[role=banner] {
        -ms-grid-columns: auto 1fr;
        margin-left: 20px;
    }

        .fragment header[role=banner] .win-backbutton {
            margin: 0;
            margin-right: 10px;
            margin-top: 76px;
        }

            .fragment header[role=banner] .win-backbutton:disabled {
                display: none;
            }

        .fragment header[role=banner] .titlearea {
            -ms-grid-column: 2;
            margin-left: 0;
            margin-top: 68px;
        }
}

@media screen and (-ms-view-state: fullscreen-portrait) {
    .fragment header[role=banner] {
        -ms-grid-columns: 100px 1fr;
    }

        .fragment header[role=banner] .win-backbutton {
            margin-left: 29px;
        }
}


button 
{
    margin-top: 5px;
    width: 100px;    
    background-color:#fff;
    color: #000;
}
 
#setView,
#restDirections,
#bingTheme,
#complexShapes,
#cm,
#revGeocode  
{
    width: 135px;    
}

#content 
{
    height: 90%;
}

#mapdiv 
{
    margin-left: 29px;
    width:300px; 
    height:100%; 
    border-color:#089908; 
    background-color:#089908; 
    position:relative;
}

#directionsItinerary 
{
    
    width: 25%;
    height: 100%;
    float: right;
    background-color:#fff; 
    position: relative;
    display: none;
    color: #000;
    overflow: auto;
}

#articlelist {
    height:150px;
}

#articlelist .win-item {
    width: 300px;
    height: 100px;
}
#articlelist1 {
    height:150px;
}

#articlelist1 .win-item {
    width: 300px;
    height: 100px;
}
.listItemTemplate {
    width:300px;
}
.listItemTitle {
    width:150px;
    float:left;
}
.listItemImage {
    float:right;
    width:100px;
    height:100px;
    float:left;
}

#right-container {
    float:right;
width:350px;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
}
